//
// Generated by Microsoft (R) HLSL Shader Compiler 10.0.10011.16384
//
//   using 3Dmigoto v1.3.16 on Tue Mar 15 22:27:49 2022
//
//
// Buffer Definitions:
//
// cbuffer ConstBuf__modelData
// {
//
//   struct ModelData
//   {
//
//       uint lightGroupID;             // Index:    0
//       uint modelFlags;               // Index:    0.y
//       float lodFade;                 // Index:    0.z
//       float displacementBlend;       // Index:    0.w
//       int turbulenceDataIdx;         // Index:    1
//       int instanceOffset;            // Index:    1.y
//       int characterFxIdx;            // Index:    1.z
//       uint debugRenderChannel;       // Index:    1.w
//       uint decayWriteOffset;         // Index:    2
//       uint decayWriteMaxCount;       // Index:    2.y
//       uint decayAtomicCounterIndex;  // Index:    2.z
//       float modelAlpha;              // Index:    2.w
//       float emissiveScale;           // Index:    3
//       float desaturationScale;       // Index:    3.y
//       float decayCoverageEstimation; // Index:    3.z
//       float3 quantScale;             // Index:    4
//       float3 quantBias;              // Index:    5
//
//   } resourceTables__modelData;       // Index:    0-5.z            Components:    23
                                        // Textures:  t0-t3
//
// }
//
// cbuffer ConstBuf__viewData
// {
//
//   struct ViewData
//   {
//
//       float4x4 view;                 // Index:    0
//       float4x4 invView;              // Index:    4
//       float4x4 proj;                 // Index:    8
//       float4x4 invViewProjNoZReproj; // Index:   12
//       float4x4 viewProj;             // Index:   16
//       float4x4 invViewProj;          // Index:   20
//       float4x4 previousViewProj;     // Index:   24
//       float4 prevLodEyePos;          // Index:   28
//       float4 lodEyePos;              // Index:   29
//       float4 viewDirDepthBias;       // Index:   30
//       float3 eyePos;                 // Index:   31
//       float2 viewportSize;           // Index:   32
//       float2 invViewportSize;        // Index:   32.z
//       float4 mirrorPlaneWS;          // Index:   33
//       float2 mirrorViewportSize;     // Index:   34
//       float2 opaqueRefractionViewportSize;// Index:   34.z
//       float windTime;                // Index:   35
//       float deltaTime;               // Index:   35.y
//       float depthReprojectScale;     // Index:   35.z
//       float depthReprojectBias;      // Index:   35.w
//       uint shadowViewType;           // Index:   36
//       float normalDepthBias;         // Index:   36.y
//       float noNormalAA;              // Index:   36.z
//       float noNormalFromAlpha;       // Index:   36.w
//       float noOpaqueTransparency;    // Index:   37
//       float translucentAmount;       // Index:   37.y
//       uint framePhase;               // Index:   37.z
//       float cameraAmbientExposure;   // Index:   37.w
//       float fxExposure;              // Index:   38
//       float fxAmbientExposure;       // Index:   38.y
//       uint checkerboardPhase;        // Index:   38.z
//       float sparkleIntensityScale;   // Index:   38.w
//
//   } resourceTables__viewData;        // Index:    0-38             Components:   156
                                        // Textures:  t6-t7
//
// }
//
// Resource bind info for resourceTables__modelData.bones
// {
//
//   float4x3 $Element;                 // Index:    0 1 2            Components:    12
//
// }
//
// Resource bind info for resourceTables__modelData.instancingBuffer
// {
//
//   struct InstancingData
//   {
//
//       float4x3 transformCurrentFrame;// Index:    0
//       float4x3 transformPrevFrame;   // Index:    3
//       uint vertColOffset;            // Index:    6
//       uint packedLodFadeDisplacementTurbulenceIdx;// Index:    6.y
//
//   } $Element;                        // Index:    0-6.y            Components:    26
//
// }
//
// Resource bind info for resourceTables__modelData.turbulenceDataThis
// {
//
//   struct TurbulenceData
//   {
//
//       float3 leafSwayLag;            // Index:    0
//       float bend;                    // Index:    0.w
//       float3 offsetA;                // Index:    1
//       float useWindAtPivot;          // Index:    1.w
//       float3 offsetB;                // Index:    2
//       float phaseLerp;               // Index:    2.w
//       float3 densityLevel;           // Index:    3
//       float stretchiness;            // Index:    3.w
//       float3 densityLevelBlend;      // Index:    4
//       float treeBend;                // Index:    4.w
//       float3 rotationPivotMask;      // Index:    5
//       float treeHeight;              // Index:    5.w
//       float3 treeSway;               // Index:    6
//       float treeWeightScale;         // Index:    6.w
//       float3 leafSway;               // Index:    7
//       float leafWiggleScale;         // Index:    7.w
//       float windAdjustScale;         // Index:    8
//       float swaySpring;              // Index:    8.y
//       float swayDamping;             // Index:    8.z
//       float pad0;                    // Index:    8.w
//       int _debugNoNoise;             // Index:    9
//       float _debugUserParam1;        // Index:    9.y
//       float _debugUserParam2;        // Index:    9.z
//       float padDebug;                // Index:    9.w
//
//   } $Element;                        // Index:    0-9              Components:    40
//
// }
//
//
// Resource Bindings:
//
// Name                                 Type  Format         Dim Slot Elements
// ------------------------------ ---------- ------- ----------- ---- --------
// resourceTables__viewData__smpLinear    sampler      NA          NA    1        1
// resourceTables__modelData.bones    texture  struct         r/o    0        1
// resourceTables__modelData.instancingBuffer    texture  struct         r/o    2        1
// resourceTables__modelData.turbulenceDataThis    texture  struct         r/o    3        1
// resourceTables__viewData.texTurbulence    texture  float3          3d    7        1
// ConstBuf__modelData               cbuffer      NA          NA    1        1
// ConstBuf__viewData                cbuffer      NA          NA    2        1
//
//
//
// Input signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION                 0   xyzw        0     NONE   float   xyzw
// TEXCOORD                 0   xy          1     NONE   float   xy
// TEXCOORD                 1   xy          2     NONE   float   xy
// TEXCOORD                 2   xy          3     NONE   float   xy
// NORMAL                   0   xyz         4     NONE   float   xyz
// TANGENT                  0   xyzw        5     NONE   float
// BLENDWEIGHT              0   xyzw        6     NONE   float   xyz
// BLENDINDICES             0   xyzw        7     NONE    uint   xyzw
// TEXCOORD                 7   xyzw        8     NONE   float   xyzw
// SV_InstanceID            0   x           9   INSTID    uint   x
// SV_VertexID              0   x          10   VERTID    uint   x
//
//
// Output signature:
//
// Name                 Index   Mask Register SysValue  Format   Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION              0   xyzw        0      POS   float   xyzw
// VERT_ID                  0   x           1     NONE    uint   x
// TEXCOORD                 0   xy          2     NONE   float   xy
// TEXCOORD                 1   xy          3     NONE   float   xy
// TEXCOORD                 2   xy          4     NONE   float   xy
// NORMAL                   0   xyz         5     NONE   float   xyz
//
vs_5_0
dcl_globalFlags refactoringAllowed
dcl_constantbuffer cb1[6], immediateIndexed
dcl_constantbuffer cb2[37], immediateIndexed
dcl_sampler s1, mode_default
dcl_resource_structured t0, 48
dcl_resource_structured t2, 104
dcl_resource_structured t3, 160
dcl_resource_texture3d (float,float,float,float) t7
dcl_input v0.xyzw
dcl_input v1.xy
dcl_input v2.xy
dcl_input v3.xy
dcl_input v4.xyz
dcl_input v6.xyz
dcl_input v7.xyzw
dcl_input v8.xyzw
dcl_input_sgv v9.x, instance_id
dcl_input_sgv v10.x, vertex_id
dcl_output_siv o0.xyzw, position
dcl_output o1.x
dcl_output o2.xy
dcl_output o3.xy
dcl_output o4.xy
dcl_output o5.xyz
dcl_temps 18
ld_structured_indexable(structured_buffer, stride=48)(mixed,mixed,mixed,mixed) r0.xyzw, v7.y, l(0), t0.xyzw
mul r0.xyzw, r0.xyzw, v6.yyyy
ld_structured_indexable(structured_buffer, stride=48)(mixed,mixed,mixed,mixed) r1.xyzw, v7.x, l(0), t0.xyzw
mad r0.xyzw, v6.xxxx, r1.xyzw, r0.xyzw
ld_structured_indexable(structured_buffer, stride=48)(mixed,mixed,mixed,mixed) r1.xyzw, v7.z, l(0), t0.xyzw
mad r0.xyzw, v6.zzzz, r1.xyzw, r0.xyzw
ld_structured_indexable(structured_buffer, stride=48)(mixed,mixed,mixed,mixed) r1.xyzw, v7.w, l(0), t0.xyzw
add r2.x, v6.y, v6.x
add r2.x, r2.x, v6.z
add r2.x, -r2.x, l(1.000000)
mad r0.xyzw, r2.xxxx, r1.xyzw, r0.xyzw
mov r1.x, r0.w
ld_structured_indexable(structured_buffer, stride=48)(mixed,mixed,mixed,mixed) r3.xyzw, v7.y, l(16), t0.xyzw
mul r3.xyzw, r3.xyzw, v6.yyyy
ld_structured_indexable(structured_buffer, stride=48)(mixed,mixed,mixed,mixed) r4.xyzw, v7.x, l(16), t0.xyzw
mad r3.xyzw, v6.xxxx, r4.xyzw, r3.xyzw
ld_structured_indexable(structured_buffer, stride=48)(mixed,mixed,mixed,mixed) r4.xyzw, v7.z, l(16), t0.xyzw
mad r3.xyzw, v6.zzzz, r4.xyzw, r3.xyzw
ld_structured_indexable(structured_buffer, stride=48)(mixed,mixed,mixed,mixed) r4.xyzw, v7.w, l(16), t0.xyzw
mad r3.xyzw, r2.xxxx, r4.xyzw, r3.xyzw
mov r1.y, r3.w
ld_structured_indexable(structured_buffer, stride=48)(mixed,mixed,mixed,mixed) r4.xyzw, v7.y, l(32), t0.xyzw
mul r4.xyzw, r4.xyzw, v6.yyyy
ld_structured_indexable(structured_buffer, stride=48)(mixed,mixed,mixed,mixed) r5.xyzw, v7.x, l(32), t0.xyzw
mad r4.xyzw, v6.xxxx, r5.xyzw, r4.xyzw
ld_structured_indexable(structured_buffer, stride=48)(mixed,mixed,mixed,mixed) r5.xyzw, v7.z, l(32), t0.xyzw
mad r4.xyzw, v6.zzzz, r5.xyzw, r4.xyzw
ld_structured_indexable(structured_buffer, stride=48)(mixed,mixed,mixed,mixed) r5.xyzw, v7.w, l(32), t0.xyzw
mad r2.xyzw, r2.xxxx, r5.xyzw, r4.xyzw
mov r1.z, r2.w
mad r4.xyz, v0.xyzx, cb1[4].xyzx, cb1[5].xyzx
dp3 r5.x, r4.xyzx, r0.xyzx
dp3 r5.y, r4.xyzx, r3.xyzx
dp3 r5.z, r4.xyzx, r2.xyzx
add r5.xyz, r1.xyzx, r5.xyzx
dp3 r1.w, r4.xyzx, r4.xyzx
sqrt r1.w, r1.w
iadd r4.w, v9.x, cb1[1].y
ld_structured_indexable(structured_buffer, stride=104)(mixed,mixed,mixed,mixed) r4.w, r4.w, l(100), t2.xxxx
and r5.w, r4.w, l(0x0000ffff)
bfi o1.x, l(24), l(0), v10.x, r4.w
ld_structured_indexable(structured_buffer, stride=160)(mixed,mixed,mixed,mixed) r6.xyzw, r5.w, l(80), t3.xyzw
div r1.w, r1.w, r6.w
log r1.w, r1.w
ld_structured_indexable(structured_buffer, stride=160)(mixed,mixed,mixed,mixed) r7.xyzw, r5.w, l(64), t3.xyzw
mul r1.w, r1.w, r7.w
exp r1.w, r1.w
ld_structured_indexable(structured_buffer, stride=160)(mixed,mixed,mixed,mixed) r8.xyzw, r5.w, l(96), t3.xyzw
mul r1.w, r1.w, r8.w
ld_structured_indexable(structured_buffer, stride=160)(mixed,mixed,mixed,mixed) r9.xyzw, r5.w, l(0), t3.xyzw
ld_structured_indexable(structured_buffer, stride=160)(mixed,mixed,mixed,mixed) r10.xyzw, r5.w, l(112), t3.xyzw
mad r9.xyz, -r1.wwww, r9.xyzx, r10.xyzx
log r4.w, v8.w
mul r4.w, r4.w, r9.w
exp r4.w, r4.w
mad r9.xyz, r9.xyzx, r4.wwww, r5.xyzx
mul r4.w, r10.w, r4.w
min r6.w, r6.z, r6.y
min r6.w, r6.w, r6.x
mad r4.xyz, v8.xyzx, r6.wwww, r4.xyzx
mul r10.xyz, r6.xyzx, r4.xyzx
mov r10.w, v0.w
dp4 r4.x, r10.xyzw, r0.xyzw
dp4 r4.y, r10.xyzw, r3.xyzw
dp4 r4.z, r10.xyzw, r2.xyzw
add r10.xyz, -r9.xyzx, r4.xyzx
ld_structured_indexable(structured_buffer, stride=160)(mixed,mixed,mixed,mixed) r11.xyzw, r5.w, l(16), t3.xyzw
mad r10.xyz, r11.wwww, r10.xyzx, r9.xyzx
ld_structured_indexable(structured_buffer, stride=160)(mixed,mixed,mixed,mixed) r12.xyzw, r5.w, l(48), t3.xyzw
ld_structured_indexable(structured_buffer, stride=160)(mixed,mixed,mixed,mixed) r13.xyzw, r5.w, l(32), t3.xyzw
mad r14.xyz, r10.xyzx, r12.xyzx, r11.xyzx
sample_l_indexable(texture3d)(float,float,float,float) r14.xyz, r14.xyzx, t7.xyzw, s1, l(0.000000)
mad r14.xyz, r14.xyzx, l(2.000000, 2.000000, 2.000000, 0.000000), l(-1.000000, -1.000000, -1.000000, 0.000000)
mad r15.xyz, r7.xyzx, l(0.500000, 0.500000, 0.500000, 0.000000), l(0.500000, 0.500000, 0.500000, 0.000000)
mul r14.xyz, r14.xyzx, r15.xyzx
mul r16.xyz, r10.xyzx, r12.xyzx
mad r10.xyz, r10.xyzx, r12.xyzx, r13.xyzx
sample_l_indexable(texture3d)(float,float,float,float) r10.xyz, r10.xyzx, t7.xyzw, s1, l(0.000000)
mad r10.xyz, r10.xyzx, l(2.000000, 2.000000, 2.000000, 0.000000), l(-1.000000, -1.000000, -1.000000, 0.000000)
mul r10.xyz, r10.xyzx, r15.xyzx
mad r12.xyz, r16.xyzx, l(2.000000, 2.000000, 2.000000, 0.000000), r11.xyzx
sample_l_indexable(texture3d)(float,float,float,float) r12.xyz, r12.xyzx, t7.xyzw, s1, l(0.000000)
mad r12.xyz, r12.xyzx, l(2.000000, 2.000000, 2.000000, 0.000000), l(-1.000000, -1.000000, -1.000000, 0.000000)
mul r15.xyz, r7.xyzx, l(0.500000, 0.500000, 0.500000, 0.000000)
mad r12.xyz, r15.xyzx, r12.xyzx, r14.xyzx
mad r14.xyz, r16.xyzx, l(0.500000, 0.500000, 0.500000, 0.000000), r11.xyzx
mad r11.xyz, r16.xyzx, l(0.250000, 0.250000, 0.250000, 0.000000), r11.xyzx
sample_l_indexable(texture3d)(float,float,float,float) r11.xyz, r11.xyzx, t7.xyzw, s1, l(0.000000)
mad r11.xyz, r11.xyzx, l(2.000000, 2.000000, 2.000000, 0.000000), l(-1.000000, -1.000000, -1.000000, 0.000000)
sample_l_indexable(texture3d)(float,float,float,float) r14.xyz, r14.xyzx, t7.xyzw, s1, l(0.000000)
mad r14.xyz, r14.xyzx, l(2.000000, 2.000000, 2.000000, 0.000000), l(-1.000000, -1.000000, -1.000000, 0.000000)
mad r17.xyz, r7.xyzx, l(-0.500000, -0.500000, -0.500000, 0.000000), l(1.000000, 1.000000, 1.000000, 0.000000)
mad r7.xyz, r7.xyzx, l(-0.500000, -0.500000, -0.500000, 0.000000), l(0.500000, 0.500000, 0.500000, 0.000000)
mad r12.xyz, r17.xyzx, r14.xyzx, r12.xyzx
mad r11.xyz, r7.xyzx, r11.xyzx, r12.xyzx
mul r11.xyz, r11.xyzx, l(0.500000, 0.500000, 0.500000, 0.000000)
mad r12.xyz, r16.xyzx, l(2.000000, 2.000000, 2.000000, 0.000000), r13.xyzx
sample_l_indexable(texture3d)(float,float,float,float) r12.xyz, r12.xyzx, t7.xyzw, s1, l(0.000000)
mad r12.xyz, r12.xyzx, l(2.000000, 2.000000, 2.000000, 0.000000), l(-1.000000, -1.000000, -1.000000, 0.000000)
mad r10.xyz, r15.xyzx, r12.xyzx, r10.xyzx
mad r12.xyz, r16.xyzx, l(0.500000, 0.500000, 0.500000, 0.000000), r13.xyzx
mad r13.xyz, r16.xyzx, l(0.250000, 0.250000, 0.250000, 0.000000), r13.xyzx
sample_l_indexable(texture3d)(float,float,float,float) r13.xyz, r13.xyzx, t7.xyzw, s1, l(0.000000)
mad r13.xyz, r13.xyzx, l(2.000000, 2.000000, 2.000000, 0.000000), l(-1.000000, -1.000000, -1.000000, 0.000000)
sample_l_indexable(texture3d)(float,float,float,float) r12.xyz, r12.xyzx, t7.xyzw, s1, l(0.000000)
mad r12.xyz, r12.xyzx, l(2.000000, 2.000000, 2.000000, 0.000000), l(-1.000000, -1.000000, -1.000000, 0.000000)
mad r10.xyz, r17.xyzx, r12.xyzx, r10.xyzx
mad r7.xyz, r7.xyzx, r13.xyzx, r10.xyzx
mad r7.xyz, r7.xyzx, l(0.500000, 0.500000, 0.500000, 0.000000), -r11.xyzx
mad r7.xyz, r13.wwww, r7.xyzx, r11.xyzx
mad r7.xyz, r4.wwww, r7.xyzx, r9.xyzx
add r9.xyz, -r4.xyzx, r7.xyzx
dp3 r0.w, r9.xyzx, r9.xyzx
max r0.w, r0.w, l(1.000000012E-007)
rsq r0.w, r0.w
mul r9.xyz, r0.wwww, r9.xyzx
add r5.xyz, -r4.xyzx, r5.xyzx
dp3 r0.w, r5.xyzx, r5.xyzx
sqrt r0.w, r0.w
mad r4.xyz, r0.wwww, r9.xyzx, r4.xyzx
add r5.xyz, -r4.xyzx, r7.xyzx
mad r4.xyz, r12.wwww, r5.xyzx, r4.xyzx
max r0.w, r6.z, r6.y
max r0.w, r0.w, r6.x
lt r0.w, l(-0.100000), r0.w
movc r4.xyz, r0.wwww, r4.xyzx, r7.xyzx
mad r5.xyz, r1.wwww, r8.xyzx, r4.xyzx
add r4.xyz, -r1.xyzx, r4.xyzx
dp3 r0.w, r4.xyzx, r4.xyzx
sqrt r0.w, r0.w
add r4.xyz, -r1.xyzx, r5.xyzx
dp3 r1.w, r4.xyzx, r4.xyzx
rsq r1.w, r1.w
mul r4.xyz, r1.wwww, r4.xyzx
mad r1.xyz, r4.xyzx, r0.wwww, r1.xyzx
add r4.xyz, r1.xyzx, -cb2[31].xyzx
dp3 r0.w, r4.xyzx, r4.xyzx
rsq r0.w, r0.w
mul r4.xyz, r0.wwww, r4.xyzx
mad r5.xyz, v4.xyzx, l(2.000000, 2.000000, 2.000000, 0.000000), l(-1.000000, -1.000000, -1.000000, 0.000000)
dp3 r0.x, r5.xyzx, r0.xyzx
dp3 r0.y, r5.xyzx, r3.xyzx
dp3 r0.z, r5.xyzx, r2.xyzx
dp3 r0.w, r0.xyzx, r0.xyzx
rsq r0.w, r0.w
mul r0.xyz, r0.wwww, r0.xyzx
dp3_sat r0.w, -r4.xyzx, r0.xyzx
add r0.w, -r0.w, l(1.000000)
mul r2.xyz, r0.xyzx, cb2[36].yyyy
mov o5.xyz, r0.xyzx
mad r0.xyz, -r2.xyzx, r0.wwww, r1.xyzx
mad r2.xyz, r4.xyzx, cb2[30].wwww, r0.xyzx
add r0.xyz, r0.xyzx, cb2[30].xyzx
ieq r0.w, l(1), cb2[36].x
movc r0.xyz, r0.wwww, r0.xyzx, r2.xyzx
movc r0.xyz, cb2[36].xxxx, r0.xyzx, r1.xyzx
mov r0.w, l(1.000000)
dp4 o0.x, r0.xyzw, cb2[16].xyzw
dp4 o0.y, r0.xyzw, cb2[17].xyzw
dp4 o0.z, r0.xyzw, cb2[18].xyzw
dp4 o0.w, r0.xyzw, cb2[19].xyzw
mov o2.xy, v1.xyxx
mov o3.xy, v2.xyxx
mov o4.xy, v3.xyxx
ret
// Approximately 165 instruction slots used

///////////////////////////////// HLSL Code /////////////////////////////////
// // ---- Created with 3Dmigoto v1.3.16 on Tue Mar 15 22:27:49 2022
//
// struct InstancingData
// {
//     float4x3 transformCurrentFrame;// Offset:    0
//     float4x3 transformPrevFrame;   // Offset:   48
//     uint vertColOffset;            // Offset:   96
//     uint packedLodFadeDisplacementTurbulenceIdx;// Offset:  100
// };
//
// struct TurbulenceData
// {
//     float3 leafSwayLag;            // Offset:    0
//     float bend;                    // Offset:   12
//     float3 offsetA;                // Offset:   16
//     float useWindAtPivot;          // Offset:   28
//     float3 offsetB;                // Offset:   32
//     float phaseLerp;               // Offset:   44
//     float3 densityLevel;           // Offset:   48
//     float stretchiness;            // Offset:   60
//     float3 densityLevelBlend;      // Offset:   64
//     float treeBend;                // Offset:   76
//     float3 rotationPivotMask;      // Offset:   80
//     float treeHeight;              // Offset:   92
//     float3 treeSway;               // Offset:   96
//     float treeWeightScale;         // Offset:  108
//     float3 leafSway;               // Offset:  112
//     float leafWiggleScale;         // Offset:  124
//     float windAdjustScale;         // Offset:  128
//     float swaySpring;              // Offset:  132
//     float swayDamping;             // Offset:  136
//     float pad0;                    // Offset:  140
//     int _debugNoNoise;             // Offset:  144
//     float _debugUserParam1;        // Offset:  148
//     float _debugUserParam2;        // Offset:  152
//     float padDebug;                // Offset:  156
// };
//
// cbuffer ConstBuf__modelData : register(b1)
// {
//
//   struct
//   {
//     uint lightGroupID;
//     uint modelFlags;
//     float lodFade;
//     float displacementBlend;
//     int turbulenceDataIdx;
//     int instanceOffset;
//     int characterFxIdx;
//     uint debugRenderChannel;
//     uint decayWriteOffset;
//     uint decayWriteMaxCount;
//     uint decayAtomicCounterIndex;
//     float modelAlpha;
//     float emissiveScale;
//     float desaturationScale;
//     float decayCoverageEstimation;
//     float3 quantScale;
//     float3 quantBias;
//   } resourceTables__modelData : packoffset(c0);
//
//
// SamplerState resourceTables__viewData__smpLinear_s : register(s1);
// StructuredBuffer<float4x3> resourceTables__modelData.bones : register(t0);
// StructuredBuffer<InstancingData> resourceTables__modelData.instancingBuffer : register(t2);
// StructuredBuffer<TurbulenceData> resourceTables__modelData.turbulenceDataThis : register(t3);
// Texture3D<float3> resourceTables__viewData.texTurbulence : register(t7);
//
//
// // 3Dmigoto declarations
// #define cmp -
// Texture1D<float4> IniParams : register(t120);
// Texture2D<float4> StereoParams : register(t125);
//
//
// void main(
//   float4 v0 : POSITION0,
//   float4 v1 : TEXCOORD0,
//   float4 v2 : TEXCOORD1,
//   float2 v3 : TEXCOORD2,
//   float3 v4 : NORMAL0,
//   float4 v5 : TANGENT0,
//   float4 v6 : BLENDWEIGHT0,
//   uint4 v7 : BLENDINDICES0,
//   float4 v8 : TEXCOORD7,
//   uint v9 : SV_InstanceID0,
//   uint v10 : SV_VertexID0,
//   out float4 o0 : SV_POSITION0,
//   out uint o1 : VERT_ID0,
//   out float4 o2 : TEXCOORD0,
//   out float4 o3 : TEXCOORD1,
//   out float2 o4 : TEXCOORD2,
//   out float3 o5 : NORMAL0)
// {
//   Textures:.x = [t0-t3].val[/4];
//   Textures:.y = [t0-t3].val[/4+1];
//   Textures:.z = [t0-t3].val[/4+2];
//   Textures:.w = [t0-t3].val[/4+3];
//   Textures: =  * t6-t7;
// // Needs manual fix for instruction:
// // unknown dcl_: dcl_input_sgv v9.x, instance_id
// // Needs manual fix for instruction:
// // unknown dcl_: dcl_input_sgv v10.x, vertex_id
//   float4 r0,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12,r13,r14,r15,r16,r17;
//   uint4 bitmask, uiDest;
//   float4 fDest;
//
//   r0.xyzw = resourceTables__modelData.bones[v7.y]._m00_m10_m20_m30;
//   r0.xyzw = r0.xyzw * v6.yyyy + ;
//   r1.xyzw = resourceTables__modelData.bones[v7.x]._m00_m10_m20_m30;
//   r0.xyzw = v6.xxxx * r1.xyzw + r0.xyzw;
//   r1.xyzw = resourceTables__modelData.bones[v7.z]._m00_m10_m20_m30;
// }
//////////////////////////////// HLSL Errors ////////////////////////////////
// error X3506: unrecognized compiler target '                                        // Textures:  t0-t3'
/////////////////////////////////////////////////////////////////////////////
